package lab02.Test37;

/**
 * Created by lady on 2017/12/14.
 */
public class Undergraduate  extends Student{
    //于本科生，如果3门课程的平均分数超过60分即表示通过，
    public Undergraduate(float score1, float score2, float score3) {
        super(score1, score2, score3);
    }

    public boolean pass()
    {
        if(getAvg()>60) {
            return true;
        }
        return false;
    }

}
